<?php
/**
 * Created by PhpStorm.
 * User: 96572
 * Date: 2017/4/4
 * Time: 0:05
 */

namespace app\modules\admin\controllers;


use yii\base\Controller;

class IndexController extends Controller
{
    public function actionIndex()
    {
        // var_dump(RbacController::getCurrentRbacID());
        return 'I am admin/Index/index';
    }
    public function actionView()
    {

        // $this->layout = '@app/modules/admin/views/layouts/main.php';
        return $this->render('view');
    }
}